﻿using System.ComponentModel;

namespace Using_Timer {
  public class BindData : INotifyPropertyChanged {
    public string Text { get; set; }

    public event PropertyChangedEventHandler PropertyChanged;

    public void setText(string text) {
      Text = text; 
      PropertyChanged(this, new PropertyChangedEventArgs("Text")); 
    }
  }
}
